<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all">
    <script src="../../layui/layui.js" charset="utf-8"></script>
    <script src="../../js/jquery-3.4.1.min.js" charset="utf-8"></script>
    <link rel="stylesheet" href="../../layui/formSelects-v4.css"/>
    <script src="update.js"></script>
</head>
<body>
<form class="layui-form">
    <input id="id" name="id" type="hidden">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>注意：</legend>
    </fieldset>
    <span style="margin-left: 30px;color: red">请自行确保git项目名、分支、git地址配置正确性及itcode密码有效</span>
    <br>
    <br>
    <div class="layui-form-item layui-form">
        <label class="layui-form-label" style="width: 100px">项目<span style="color: red">*</span></label>
        <div class="layui-input-inline projectId" style="width: 260px">
            <input type="text" name="projectName" id="projectName" oninput="projectNameInput()" class="layui-input" lay-verify="required"
                   placeholder="请输入项目名称搜索" style="position:absolute;z-index:2;width:88%;" value="" autocomplete="off">
            <select name="projectId" placeholder="请输入项目名称搜索" id="projectId" lay-filter="projectId" >
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px">命名空间<span style="color: red">*</span></label>
        <div class="layui-input-inline namespaceId" style="width: 260px">
            <input type="text" name="namespaceName" id="namespaceName" oninput="namespaceNameInput()" class="layui-input" lay-verify="required"
                   placeholder="请输入项目名称搜索" style="position:absolute;z-index:2;width:88%;" value="" autocomplete="off">
            <select name="namespaceId" placeholder="请输入项目名称搜索" id="namespaceId" lay-filter="namespaceId" >
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="width: 100px">分支名称<span style="color: red">*</span></label>
        <div class="layui-input-inline">
            <input type="text" style="width: 260px" name="branch" id="branch" autocomplete="on" placeholder="master" lay-verify="required"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-form">
        <label class="layui-form-label" style="width: 100px">状态<span style="color: red">*</span></label>
        <div class="layui-input-block">
            <input type="radio" name="state" id="state1" value="1" title="开启" checked="">
            <input type="radio" name="state" id="state0" value="0" title="关闭">
            <input type="radio" name="state" id="state2" value="2" title="只存储镜像">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block" style="position: absolute;left: 120px">
            <button class="layui-btn" lay-submit="" lay-filter="save">提交</button>
            <button class="layui-btn"  id="close">关闭</button>
        </div>
    </div>
</form>
</body>
</html>